package com.oocl.invoker.client;

import org.springframework.cloud.netflix.feign.FeignClient;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.oocl.invoker.Member;
import com.oocl.invoker.clientfallback.MemberServiceFallback;


@FeignClient(name="springCloudMember",fallback=MemberServiceFallback.class)
public interface MemberService {

	  @GetMapping(value="/id/{id}")
      Member findMemberById(@PathVariable("id") Integer id);
	  
	  
	  
	  

}
